#include "mystdio.h"
#include <string.h>

int main()
{
    MyFile* f = MyFopen("./log.txt", "w");
    if(f == NULL)
    {
        printf("MyFopen error \n");
        return 1;
    }

    char* meg = "hello MyFwrite\n";
    MyFwrite(f, meg, strlen(meg));

    MyFclose(f);

    return 0;
}
